include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)

add_clang_tool(clang-query
  ClangQuery.cpp
  )
clang_target_link_libraries(clang-query
  PRIVATE
  clangAST
  clangASTMatchers
  clangBasic
  clangDynamicASTMatchers
  clangFrontend
  clangSerialization
  clangTooling
  )
target_link_libraries(clang-query
  PRIVATE
  clangQuery
  )
